SGGrabFrameComplete
TheSGGrabFrameComplete
function provides the default behavior for your grab-complete function.
pascal ComponentResult SGGrabFrameComplete (SGChannel c, short bufferNum, Boolean *done);
c
- Specifies the reference that identifies the channel for this operation. The sequence grabber provides this value to your grab-complete function.
bufferNum
- Identifies the buffer. The sequence grabber provides this value to your grab-complete function.
done
- Contains a pointer to a Boolean value. The
SGGrabFrameComplete
function sets this Boolean value to indicate whether the frame has been completely captured. The function sets the Boolean value totrue
if the capture is complete, and sets it tofalse
if the capture is incomplete. The sequence grabber provides this pointer to your grab-complete function.SPECIAL CONSIDERATIONS
You should call theSGGrabFrameComplete
function only from your grab-complete function. If you call it at any other time, results are unpredictable.RESULT CODE
cantDoThatInCurrentMode -9402 Request invalid in current mode SEE ALSO
See "Application-Defined Functions," which begins on page 5-107, for details about grab-complete functions.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help